package com.bijinihaitan.yym;

public class Hippo {
    private String id;
    private String name;
    private String color;
    private String friend;
    private String eatfood;
    private String apperance;

    public String getId() {

        return id;
    }

    public void setId(String id) {

        this.id = id;
    }

    public String getName() {

        return name;
    }

    public void setName(String name) {

        this.name = name;
    }

    public String getColor() {

        return color;
    }

    public void setColor(String color) {

        this.color = color;
    }

    public String getFriend() {

        return friend;
    }

    public void setFriend(String friend) {

        this. friend= friend;
    }

    public String getEatfood() {

        return eatfood;
    }

    public void setEatfood(String eatfood) {

        this. eatfood= eatfood;
    }
    public String getApperance() {

        return apperance;
    }

    public void setApperance(String apperance) {

        this.apperance = apperance;
    }


    @Override
    public String toString() {
        return "动物类名：hippo{" +
                "动物id：" + id + '\'' +
                "动物名称:" + name + '\'' +
                "食物：" + eatfood + '\'' +
                "颜色:" + color + '\'' +
                "朋友：" + friend+ '\'' +
                "外貌:" + apperance + '\'' +
                '}';
    }
    public void setname() {
        System.out.println("河马小飞");
    }
    public void seteatFood(){

        System.out.println("鱼！！！！！");
    }

    public void setColor(){
        System.out.println("灰褐色的皮肤");
    }

    public void setFriend() {
        System.out.println("小鳄鱼");
    }

    public void setApperance(){
        System.out.println("有个大肚肚，大嘴巴，还有短短的尾巴");
    }
}
